$OpenBSD: patch-hybriderr_c,v 1.1 2004/06/22 03:07:17 brad Exp $
--- hybriderr.c.orig	1999-07-31 18:05:24.000000000 -0600
+++ hybriderr.c	2004-06-21 20:01:38.000000000 -0600
@@ -23,8 +23,10 @@
 */
 
 #include <config.h>
-#include <memory.h>
+#ifdef HAVE_MALLOC_H
 #include <malloc.h>
+#endif
+#include <memory.h>
 #include "video.h"
 #include "proto.h"
 #include "dither.h"
